<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2018/4/28
  Time: 19:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>

    <title>Title</title>
</head>
<body>
<%
int a=10;
pageContext.setAttribute("a",10);
request.setAttribute("b",20);
session.setAttribute("name","张三");
application.setAttribute("d",40);
%>
<p>name=${sessionScope.aaa}</p>
<p>name=${sessionScope.name}</p>
<p>a=${pageSccope.a}</p>
<p>b=${requestScope.b}</p>
<p>c=${sessionSccope.c}</p>
<p>d=${applictionSccope.d}</p>

</body>
</html>
